package com.wd.tech.Api;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

/**
 * date:2020/7/2
 * author:王成虎(13671)
 * month:七月
 * function:
 */
public interface ApiService {

    //查询banner
    @GET
    Observable<ResponseBody> GetXBannerInfo(@Url String url);

    //展示资讯首页
    @GET
    Observable<ResponseBody> GetNewsSh(@Url String url, @QueryMap Map<String ,Object>map);

}
